+2006-04-30 Matthias Clasen <mclasen@localhost.localdomain>
+
+ * gtk/gtkstatusicon.c (gtk_status_icon_class_init): Fix the definition
+ of the ::size-changed signal, and improve its documentation.
+ (#340112, Christian Persch)
+
2006-04-29 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkwidget.c (gtk_widget_create_pango_layout)
+2006-04-30 Matthias Clasen <mclasen@localhost.localdomain>
+
+ * gtk/gtkstatusicon.c (gtk_status_icon_class_init): Fix the definition
+ of the ::size-changed signal, and improve its documentation.
+ (#340112, Christian Persch)
+
2006-04-29 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkwidget.c (gtk_widget_create_pango_layout)
* Gets emitted when the size available for the image
* changes, e.g. because the notification area got resized.
*
+ * Return value: %TRUE if the icon was updated for the new
+ * size. Otherwise, GTK+ will scale the icon as necessary.
+ *
* Since: 2.10
*/
status_icon_signals [SIZE_CHANGED_SIGNAL] =
g_signal_new (I_("size-changed"),
- G_TYPE_FROM_CLASS (gobject_class),
- G_SIGNAL_RUN_FIRST,
+ G_TYPE_FROM_CLASS (object_class),
+ G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkStatusIconClass, size_changed),
- NULL,
+ g_signal_accumulator_true_handled,
NULL,
_gtk_marshal_BOOLEAN__INT,
- G_TYPE_NONE,
+ G_TYPE_BOOLEAN,
1,
G_TYPE_INT);